home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000054_icon-group-sender _Sun Feb 25 03:52:32 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 26 Feb 1996 12:11:36 MST
To: icon-group@cs.arizona.edu
Date: Sun, 25 Feb 1996 03:52:32 GMT
From: rjp@heffer.demon.co.uk (Rob Partington)
Message-Id: <slrn4ivn88.3rh.rjp@heffer.demon.co.uk>
Sender: icon-group-request@cs.arizona.edu
Subject: Icon replacement for a perl script?
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
Ok, I've got a perl script which takes a list of filenames, and processes
each one to find out which filter to use on the file (depending on a regexp
match on the filename). Then it processes each file in turn, with the
appropriate filters (and some default ones that are always applied), to
create two new ones (a local copy, and a remote one).
Since this takes a while (~11 minutes for 1158 files), and a ridiculous
amount of memory (it peaks at about 16M of swap :-), I was wondering if
it might be easier/faster/more memory efficient to do this in icon?
The most complicated replacement is
&title;some text here => <head><title>some text here</title>
All the others are simple text=>text replaces.
Does anyone have any suggestions? Any help gratefully appreciated
(especially by the drive my swap space is on :-)
--
+X------------------------------------------------------------------------oO+
| Bob Partington - rjp@heffer.demon.co.uk - Linux'd and Acorn'd #
| work - http://www.adxis.com/ - personal - http://www.adxis.com/staff/rjp/ ^
| This message may not reflect the opinions of Adxis v
+<----##############################################################------->+